// ColorMapObject.cpp

# include "ColorMapObject.h"

namespace Voltron
{

	ColorMapObject::ColorMapObject(): GLObject3D()
	{
		
	}
	
	ColorMapObject::ColorMapObject(int quantityVerts):
				GLObject3D(quantityVerts)
	{
	}

	ColorMapObject::ColorMapObject(int quantityVerts, vec3* positionVerts, vec3* colorVerts, GLuint shaderprogram):
	 			GLObject3D(quantityVerts,positionVerts, colorVerts, shaderprogram)
	{
	}

	
	ColorMapObject::~ColorMapObject()
	{
	}

	void ColorMapObject::render()
	{
		makeActiveObject();
		glDrawArrays(GL_TRIANGLES, 0, _quantityVerts);
	}
}

